import { EnterpriseInfo } from '../types/company'
import { http } from '../utils/http'


export function insertEnterpriseInfo(enterpriseInfo:EnterpriseInfo) {
	return http({
		method: 'POST',
		url: `/app/enterprise`,
		data: enterpriseInfo
	
	})
}
export function invoice(manageId:string) {
	return http({
		method: 'POST',
		url: `/app/enterprise/invoice/${manageId}`,
	
	
	})
}

export function isCompany() {
	return http({
		method: 'GET',
		url: `/app/enterprise/isCompany`,
			
	
	})
}